import axios, {Axios} from 'axios'
const context = "/ucenter"

/**
* 获取 OrrOutcupEfficiencyDetail 分页列表
*/
export function getOrrOutcupEfficiencyDetailPagination(data: any) {
    return axios.get(`${context}/orrOutcupEfficiencyDetail/pagination`, { params: data });
}


/**
* 获取 OrrOutcupEfficiencyDetail 所有数据
*/
export function getOrrOutcupEfficiencyDetailAllList(data: any) {
    return axios.get(`${context}/orrOutcupEfficiencyDetail/allList`, { params: data });
}


/**
* 获取 OrrOutcupEfficiencyDetail 详情
*/
export function getOrrOutcupEfficiencyDetailDetailById(id: any) {
    return axios.get(`${context}/orrOutcupEfficiencyDetail/${id}`, { params:{id} });
}


/**
* 新增 OrrOutcupEfficiencyDetail
*/
export function addOrrOutcupEfficiencyDetail(data: any) {
    return axios.post(`${context}/orrOutcupEfficiencyDetail`, data);
}

/**
* 修改 OrrOutcupEfficiencyDetail
*/
export function updateOrrOutcupEfficiencyDetail(data: any) {
    return axios.put(`${context}/orrOutcupEfficiencyDetail`, data);
}

/**
* 删除 OrrOutcupEfficiencyDetail
*/
export function batchRemoveOrrOutcupEfficiencyDetail(data: any) {
        return axios.post(`${context}/orrOutcupEfficiencyDetail/batchRemove`, data);
}
